package com.laiketui.order.api.params.mch;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laiketui.domain.vo.MainVo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Setter
@Getter
@ToString
public class MchOrderDetailReadyParams extends MainVo {

    @NotBlank(message = "订单号不能为空")
    private String orderNo;

    @NotBlank(message = "订单子项编号不能为空")
    private String detailNos;

//    @NotNull(message = "工厂ID不能为空")
    private Integer mchId;
//    @NotNull(message = "用户ID不能为空")
    private String userId;

    private List<String> detailNoList;
}
